package com.utils;

/**
 * Created by Administrator on 2017/5/15.
 */
public class StringUtil {
    public static boolean isEmpty(String str) {
        return str == null || str.trim().length() < 1;
    }

    public static String getSqlIn(String[] strs) {
        String result = "";
        for (String str : strs) {
            if (!result.equals("")) {
                result += ",";
            }
            result += "'" + str + "'";
        }
        return result;
    }
}
